Disable xen bus and grant tables when supervisor_mode_kernel is enabled.
authorIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Fri, 31 Mar 2006 10:04:42 +0000 (11:04 +0100)
committerIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Fri, 31 Mar 2006 10:04:42 +0000 (11:04 +0100)
commit5a5d245c8c59a28503353f57d7b2201b507bf99e
tree9e7e11d3b689bb8f6175c0e28700a2c74f6ff7d8
parent6601a234d1928515b300f9be15f4c3f6c98043fa
Disable xen bus and grant tables when supervisor_mode_kernel is enabled.
Neither of these features are useful/available in this mode since only a
single domain is supported.

Do not attempt to initialise xen bus when supervisor_mode_kernel is
enabled.

Do not BUG_ON() failure to setup grant tables, future versions
of supervisor_mode_kernel may return -ENOSYS here.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
linux-2.6-xen-sparse/drivers/xen/core/gnttab.c
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c